/**
 * MulInstruction(a,b).act() => a=a*b
 * @author pabergg
 *
 */
public class MulInstruction implements InstructionInterface {

		IntWrapper param1;
		IntWrapper param2;
		
		public MulInstruction(IntWrapper a,IntWrapper b){
			param1=a;
			param2=b;
		}
		
		@Override
		public Integer act() {
			param1.set(param1.get()*param2.get());
			return null;
		}

}
